package com.liuhongwei.test.entity.vo;

public enum ResponseMsg {

    MSG_OK("ok"),
    MSG_FAIL("server error"),
    MSG_NO_AUTHORITY("no authority"),
    MSG_SESSION_TIME("session timeout"),
    MSG_LOGIN_FAILD("login faild"),
    MSG_PARAMETER_ERROR("parameter error"),
    MSG_DATA_NOTFOUND("data not found"),
    MSG_DATA_DUPLICATE("data duplicate"),
    MSG_CANNOT_DELETE("data can't delete"),
    MSG_FILE_EXCEED_MAX("file exceed max limit");

    private String description;

    ResponseMsg(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
